package com.dao;


import com.model.User;
import org.springframework.stereotype.Repository;

/*c
  r
 u
 d
 */
@Repository
public interface UserDAO {
    int deleteByPrimaryKey(Integer userId); // 3.删除
    int insert(User record); // 1.增加
    int insertSelective(User record);
    User selectByPrimaryKey(Integer userId);
    int updateByPrimaryKeySelective(User record);
    int updateByPrimaryKey(User record); //2. 修改
}